package com.cl.blog.mapper;

import com.cl.blog.entity.BContentReview;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author object
* @description 针对表【b_content_review】的数据库操作Mapper
* @createDate 2024-03-14 17:13:59
* @Entity com.cl.blog.entity.BContentReview
*/
@Mapper
public interface BContentReviewMapper extends BaseMapper<BContentReview> {

	long getReviewCount(@Param("contentIds") List<Integer> contentIds);

	List<BContentReview> selectAllChildReview(@Param("contentId") Integer contentId,@Param("id") Integer id);
}




